import { IFeidaoAiNodejsComponent } from '@dfeidao/atom-nodejs/interfaces';
import p001 from './p001';
import nodejs from '@dfeidao/atom-nodejs/msg/nodejs';
import render from '@dfeidao/atom-nodejs/render/render';
export default async function na001(fd: IFeidaoAiNodejsComponent) {
	// 初始页
	const page_no = fd.data.params["page-no"] || '1';
	console.log('ss', page_no);
	const res = await nodejs<{ data: [], n: number }>(fd.data.actionid, fd.data.sessionid, 'processing-set/zj-000003/s001', {
		filter: {
			page_no: 1,
			sub_process_no: '',
			sub_process_des: ''
		}
	});
	render(fd.data.node, res, p001, 'p001');
}
